runtime.g.waiting (field)
30 uses
runtime (current package)
chan.go#L271: gp.waiting = mysg
chan.go#L291: if mysg != gp.waiting {
chan.go#L294: gp.waiting = nil
chan.go#L647: gp.waiting = mysg
chan.go#L670: if mysg != gp.waiting {
chan.go#L676: gp.waiting = nil
mgc.go#L1199: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
mgc.go#L1212: if gp.waiting != nil {
mgc.go#L1213: return isMarkedOrNotInHeap(gp.waiting.elem.get())
mgc.go#L1267: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
mgc.go#L1272: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
mgc.go#L1285: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
mgc.go#L1327: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
mgc.go#L1331: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
runtime2.go#L563: waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
select.go#L85: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
select.go#L310: if gp.waiting != nil {
select.go#L313: nextp = &gp.waiting
select.go#L367: sglist = gp.waiting
select.go#L369: for sg1 := gp.waiting; sg1 != nil; sg1 = sg1.waitlink {
select.go#L374: gp.waiting = nil
sema.go#L309: s.g.waiting = s
sema.go#L479: s.g.waiting = nil
sema.go#L603: s.g.waiting = s
sema.go#L623: s.g.waiting = nil
stack.go#L823: for s := gp.waiting; s != nil; s = s.waitlink {
stack.go#L837: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L850: if gp.waiting == nil {
stack.go#L856: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L888: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |